package routers

import (
	"github.com/gin-gonic/gin"
	"wx-api/adx-api/handlers"
	"wx-api/adx-api/services/se_report"
)

func Route_Report(router *gin.RouterGroup) {
	adx_report := router.Group("/report")
	adx_report.POST("/list", func(c *gin.Context) {
		se_report.AdxReport(handlers.NewBaseController(c))
	})
	adx_report.GET("/index", func(c *gin.Context) {
		se_report.AdxReportIndex(handlers.NewBaseController(c))
	})
	adx_report.POST("/sspreport", func(c *gin.Context) {
		se_report.SspReport(handlers.NewBaseController(c))
	})
	adx_report.POST("/adx_channel_report", func(c *gin.Context) {
		se_report.AdxChannelReport(handlers.NewBaseController(c))
	})
	adx_report.POST("/ssp_channel_report", func(c *gin.Context) {
		se_report.SspChannelReport(handlers.NewBaseController(c))
	})
}
